using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;

namespace Cik.Gapi4Net.Entlib.Logging
{
    using Microsoft.Practices.EnterpriseLibrary.Logging;

    internal class LoggerWrapper : ILog
    {
        public void Write(LogEntry logEntry)
        {
            var writer = EnterpriseLibraryContainer.Current.GetInstance<LogWriter>();
            writer.Write(logEntry);
        }
    }
}